Release all active Holds on Lot
Releases every active stock_hold row whose lot_id matches the path parameter, regardless
of reason. Useful for “lift quarantine on lot X” workflows.
With release_cascaded=true the call also releases every hold placed under the lot’s
lot-level hold — the related lots quarantined with it by holdLot with cascade_bom=true,
in every warehouse — in the same transaction. Holds on those related lots that are not part
of that quarantine stay active: for example a separate location hold, or a lot-level hold
that existed before the cascade and was reused, together with the location holds the cascade
placed under it. The related lots are found also after the nightly expiry check replaced the
lot’s own lot-level hold with an Expired or Near Expiry hold. The quarantine ends with
this call: a related lot that is held by a hold outside the quarantine (for example its own
Expired hold) keeps that hold.
A lot that an open quarantine still covers does not become free: when the lot-level hold that
kept it out of that quarantine ends — its own older quarantine, or the Expired hold that
replaced its place in the quarantine — it moves into the quarantine and is listed in
requarantined_lot_ids.
Authorizations
Generate a JWT access token through a Custom Global Integration and provide it with each request in the Authorization header prefixed with "Bearer" and then a single space.
Path Parameters
Lot whose holds to release.
Body
Also release the related lots quarantined under this lot.
Response
Lot release outcome.
Lot whose holds were targeted by this release call.
Hold IDs newly released by this call, including related-lot holds when
release_cascaded=true. Empty when nothing was active.
Lots this call released that stay quarantined: an open quarantine still covers
them (another lot's, or their own after an Expired hold had replaced their
place in it), so they moved into it, held with that quarantine's reason. Empty
when no lot moved.